home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: Is COBOL Dead?!
- Date: 22 Mar 1996 13:58:34 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4iv7qaINN326@keats.ugrad.cs.ubc.ca>
- References: <4ibtqm$1u7@news.netcentral.co.uk> <329681.7685.12167@kcbbs.gen.nz> <4iud7l$g0c@mrnews.mro.dec.com>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <4iud7l$g0c@mrnews.mro.dec.com>,
- Bart Gerardi <gerardi_b@wmodev.enet.dec.com> wrote:
- >
- >>In what way is Cobol crap ? It does the job it was designed to do
- >>probably better than any other language. Of course no one would
- >>want to write games in it, or operating systems, but then they
- >>are not business systems.
- >>
- >The above is exactly right. COBOL is the BEST at what it does.
- >It doesn't do much, put it is perfect for Business systems
- >(notice my .sig) VAX/BASIC is okay, too. You try to get stars
- >to print instead of zeros in a C program....
-
- Stars instad of zeros? That's acceptable if you are sending someone an invoice
- and the year is 1965.
-
- With C's standard output, I can generate source code for a real typesetting
- processor. Don't need star padding for that!
-
- I _have_ written a C end-of-month billing program that does just this. Laser
- printed output that even puts a little letter-head on the first page with an
- EPSF logo. Proportionally-spaced high-resolution font, perfectly aligned
- tables... and the program can easily be configured to output HTML, straight
- ascii or what have you, without re-compiling. It needs less resources than a
- COBOL environment. A slick B+Tree RDBMS that blasts raw C structures to and
- from disk, and a simple command parser to do the queries and updates.
-
- If you need the damn stars for old time's sake to scare clients away, it you
- can always write a printf-like routine to do it, and it will still beat COBOL.
-
- >>Cobol version outperforms the C version. Then again, most
- >>business applications don't need a lot of grunt - how much
- >>processor time does it take to multiply a price by a quantity
- >>and add the tax ?
- >>
- >
- >C is much faster at higher level math, this is correct. But,
- >how often in end-of-month billing to raise something to
- >a power? For business, COBOL is faster. It's compiler
- >and interpreter are bigger, though, I believe.
-
- Who cares? Computers were invented to calculate how to launch missiles at your
- Cold War opponent, and to do cryptography! For that, you need speed-o-rama
- efficiency even today!
-
- That they are useful to business is a side-effect... Well, war is a form of
- business, I'll give you that!
-
- >>Whether Cobol is long-winded or not, and whether it matters,
- >>depends on several factors beyond the understanding of a
- >>student used to write-only languages.
- >>
- >
- >Once that student becomes a person, he'll understand...
-
- Haha. A suspender-snapping three-piece suit buffoon with a diversified
- investment portfolio and a pot belly.
- --
-
-